/*
 * Copyright (c) zhg2yqq.com Corp.
 * All Rights Reserved.
 */

package com.zhg2yqq.wheels.security.multi;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * 自定义身份获取
 *
 * @author zhg2yqq, 2023年3月16日
 * @version zhg2yqq v1.0
 */
public interface CustomUserDetailsService extends UserDetailsService {
    UserDetails loadUserByEmail(String email);

    UserDetails loadUserByPhone(String phone);
}
